#include "listener.h"
#include "_window.h"

#ifdef	__cplusplus
extern "C" {
#endif

    typedef struct listener {
        signed int id;
        signed int windowId;
		window *winp;
        enum event_type type;
        void (*function)();
        struct listener *previous;
        struct listener *next;
        unsigned char initialized;
    } listener;

#ifdef	__cplusplus
}
#endif
